SWEP.Base = "weapon_ic_baseweapon"

if SERVER then
	AddCSLuaFile ("shared.lua")
end

SWEP.Spawnable				= true
SWEP.AdminSpawnable			= true

SWEP.Spawnable				= true
SWEP.AdminSpawnable			= true

SWEP.PrintName			= "FN P90"
SWEP.Description		= "A specialist submachinegun ideal for clustered groups of enemies, unmatched when it comes to volume of fire, but ineffective beyond short range and quick to use up ammunition."

SWEP.Slot					= 2
SWEP.Cost					= 2000
SWEP.IconFont				= "CSKillIcons"
SWEP.IconLetter				= "m"

SWEP.Primary.ClipSize		= 50
SWEP.Primary.DefaultClip	= 250
SWEP.Primary.Automatic		= true
SWEP.Primary.Ammo			= "smg1"

SWEP.Primary.Sound			= Sound ("Weapon_P90.Single")

SWEP.Primary.Delay			= 0.075
SWEP.Primary.Damage			= 16
SWEP.Primary.Cone			= 0.025
SWEP.Primary.Kick			= 0.9

SWEP.Secondary.ClipSize		= -1
SWEP.Secondary.DefaultClip	= -1
SWEP.Secondary.Automatic	= false 
SWEP.Secondary.Ammo			= "none"

SWEP.ViewModel = "models/weapons/v_smg_p90.mdl"
SWEP.ViewModelFlip = true
SWEP.ViewModelDefPos = Vector (4.0665, -2.3012, 0.6894)
SWEP.ViewModelDefAng = Vector (0, 0, 0)

SWEP.WorldModel = "models/weapons/w_smg_p90.mdl"
SWEP.HoldType = "smg"

if CLIENT then killicon.AddFont("weapon_ic_p90", SWEP.IconFont, SWEP.IconLetter, Color(255, 80, 0, 255)) end

SWEP.IsSMG		= true
